package com.tinem.platform.web.auth.login.oauth2.ad;

import org.springframework.security.oauth2.client.oidc.userinfo.OidcUserRequest;
import org.springframework.security.oauth2.client.oidc.userinfo.OidcUserService;
import org.springframework.security.oauth2.core.OAuth2AuthenticationException;
import org.springframework.security.oauth2.core.oidc.user.OidcUser;
import org.springframework.stereotype.Service;

/**
 * @author fengzhihao
 * @version v1
 * @program: platform
 * @className UserServiceImpl
 * @description TODO
 * @site 
 * @company 
 * @create 2020-07-01 18:34
 */
@Service("oidUserService")
public class OidUserServiceImpl extends OidcUserService {

    @Override
    public OidcUser loadUser(OidcUserRequest userRequest) throws OAuth2AuthenticationException {
        return super.loadUser(userRequest);
    }
}
